package com.javaee.xiangyang.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.math.BigDecimal;

@Data
@JsonInclude(value= JsonInclude.Include.NON_NULL)
public class Goods {

    private int goodsId;
    private String goodsName;
    private String goodsImg;
    private BigDecimal goodsPrice;
    private String goodsIntroduce;
    private int goodsInventory;

    private Classify classify;

    public Goods() {
    }

    public Goods(int goodsId) {
        this.goodsId = goodsId;
    }
}
